﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

using Infrastructure.Core;

namespace SMG.Domain.Model.Program
{
    /// <summary>
    /// 频道领域对象
    /// </summary>
    public class Channel : AggregateRoot
    {
        public Channel() {
            
        }

        /// <summary>
        /// 频道ID
        /// </summary>
        public String ChannelId { get; set; }
        /// <summary>
        /// 频道名称
        /// </summary>
        public String ChannelName { get; set; }
        
        /// <summary>
        /// 每天自动加载时间
        /// </summary>
        public String AutoLoadTime { get; set; }
        /// <summary>
        /// 指令延时（单位毫秒）
        /// </summary>
        public Int32 AmdDelayTime { get; set; }
        /// <summary>
        /// cue指令的提前时间（单位毫秒）
        /// </summary>
        public Int32 CueBeforeTime { get; set; }
        /// <summary>
        /// 整备系统一级目录
        /// </summary>
        public String ZBPathFirst { get; set; }
        /// <summary>
        /// 整备系统二级目录
        /// </summary>
        public String ZBPathSecond { get; set; }
        /// <summary>
        /// 主设备节目单存储目录
        /// </summary>
        public String FolderListMaster { get; set; }
        /// <summary>
        /// 备设备节目单存储目录
        /// </summary>
        public String FolderListSlave { get; set; }
        /// <summary>
        /// 主用设备图文素材文件目录
        /// </summary>
        public String FolderMediaMaster { get; set; }
        /// <summary>
        /// 备用设备图文素材文件目录
        /// </summary>
        public String FolderMediaSlave { get; set; }

        /// <summary>
        /// 主用设备素材状态文件目录
        /// </summary>
        public String FolderMediaStateMaster { get; set; }
        /// <summary>
        /// 备用设备素材状态文件目录
        /// </summary>
        public String FolderMediaStateSlave { get; set; }

        /// <summary>
        /// 主用设备ID列表
        /// 每个ID用分号隔开
        /// </summary>
        public String DeviceIdsMaster { get; set; }
        /// <summary>
        /// 备用设备ID列表
        /// 每个ID用分号隔开
        /// </summary>
        public String DeviceIdsSlave { get; set; }
        /// <summary>
        /// 0-不自动更新 1-自动更新
        /// </summary>
        public Int32 AutoUpdate { get; set; }
        /// <summary>
        /// 每天自动调单后是否自动加载
        /// 1-自动 0-不自动
        /// </summary>
        public Int32 AutoLoad { get; set; }

        /// <summary>
        /// 频道描述
        /// </summary>
        public String ChannelDesc { get; set; }
    }
}
